﻿using HungryCrowdLibrary.Manager;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HungryCrowdLibrary
{
    public class API
    {
        private static UserManager userMananger;
        public static UserManager UserManager { get { return userMananger = userMananger ?? new UserManager(); } }

        private static TraderManager traderMananger;
        public static TraderManager TraderManager { get { return traderMananger = traderMananger ?? new TraderManager(); } }

        private static MarketManager marketMananger;
        public static MarketManager MarketManager { get { return marketMananger = marketMananger ?? new MarketManager(); } }

        private static LocationManager locationMananger;
        public static LocationManager LocationManager { get { return locationMananger = locationMananger ?? new LocationManager(); } }
        
        private static CategoryManager categoryMananger;
        public static CategoryManager CategoryManager { get { return categoryMananger = categoryMananger ?? new CategoryManager(); } }
    }
}
